package app.dtos;

import app.models.vote.Vote;

import java.util.List;

/**
 * <p>
 * .
 * </p>
 *
 * @author liuhui
 * @version 1.0 2014-05-16 15:01
 * @since JDK 1.6
 */
public class VoteDTO {
    private final String title;

    private final List<Vote> voteList;

    public VoteDTO(String title, List<Vote> voteList) {
        this.title = title;
        this.voteList = voteList;
    }

    public String getTitle() {
        return title;
    }


    public List<Vote> getVoteList() {
        return voteList;
    }

}
